Part Number Hot Search : 
ADT74 2930L IRF78 28610 25AA160 TLR315 245MT MAX32
Product Description
Full Text Search
 

To Download RX100 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  all information contained in these materials, including products and pro duct specifications, represents information on the product at the time of publication and is subject to change by renesas electronics corp. without notice. please review the latest information published by renesas electronics corp. through various means, i ncluding the renesas electronics corp. website (http://www.renesas.com). renesas flash programmer v2.0 4 flash memory programming software user?s manual : RX100, rx200, rx600 (except rx64x) rev. 1 . 00 mar . 201 4
notice 1. descriptions of circuits, software and other related informat ion in this document are provided only to illustrate the operat ion of semiconductor products and application examples. you are fully re sponsible for the incorporation of these circuits, software, and information in the design of your equipment. renesas el ectronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits, software, or information. 2. renesas electronics has used reasonable care in preparing th e information included in this document, but renesas electronics does not warrant that such information is error free. renesas electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein. 3. renesas electronics does not assume any liability for infringeme nt of patents, copyrights, or other intellectual property ri ghts of third parties by or arising from the use of renesas electronics pr oducts or technical information described in this document. no license, express, implied or otherwise, is granted hereby under any patents, copyrights or othe r intellectual property rights o f renesas electronics or others. 4. you should not alter, modify, copy, or otherwise misappropriate any re nesas electronics product, wh ether in whole or in part . renesas electronics assumes no responsibilit y for any losses incurred by you or third parties arising from such alteration, modification, copy or otherwise misappr opriation of renesas electronics product. 5. renesas electronics products are classified according to the following two quality grades: ?standard? and ?high quality?. t he recommended applications for each renesas electronics product depends on the product?s quality grade, as i ndicated below. ?standard?: computers; office equipmen t; communications e quipment; test and measurement equipment; audio and visual equipment; home electronic a ppliances; machine tools; pe rsonal electronic equipment; and industrial robots etc. ?high quality?: transportation equipment (automobiles, trains, ship s, etc.); traffic control syst ems; anti-disaster systems; an ti- crime systems; and safety equipment etc. renesas electronics products are ne ither intended nor authorized for use in products or systems that may pose a direct threat t o human life or bodily injury (artificial life support devices or systems, surgical impl antations etc.), or may cause serious pro perty damages (nuclear reactor control systems, military equipment etc.). you must check the quality grade of each renesas electronics product before using it in a particular application. you may not use any renesas electronics product for any application for which it is not intended. renesas electronics shall not be in any way liable for any damages or losses incurre d by you or third parties arising from the use of any renesas el ectronics product for which the pr oduct is not intended by renesa s electronics. 6. you should use the renesas electronics pr oducts described in this document within the range specified by renesas electronics , especially with respect to the maximum ra ting, operating supply voltage range, movement power volta ge range, heat radiation characteristics, installation and other product characteristics. renesas electronics shall have no liability for malfunctions or damages arising out of the use of renesas electronics products beyond such specified ranges. 7. although renesas electronics endeavors to improve the quality and reliability of its produc ts, semiconductor products have specific characteristics such as the occurrence of failure at a certain rate a nd malfunctions under certain use conditions. fu rther, renesas electronics products are not subject to radiation resistance design. please be sure to implement safety measures to guard them against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a ren esas electronics product, such as safety desi gn for hardware and software including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradati on or any other appropriate meas ures. because the evaluation of microcomputer software alone is very di fficult, please evaluate the safety of th e final products or systems manufactured by you. 8. please contact a renesas electronics sales office for details as to environmental matters such as the environmental compatib ility of each renesas electronics product. please use renesas electronics products in compliance with all a pplicable laws and regulations that regulate the inclusion or use of controlled subs tances, including wit hout limitation, the eu rohs directive. renesas electronics assumes no liability for damages or losses oc curring as a result of your noncompliance with applicable laws and regulations. 9. renesas electronics products and technol ogy may not be used for or incorporat ed into any products or systems whose manufacture, use, or sale is prohibited under any applicable domestic or foreign la ws or regulations. you should not use renesas electronics products or technology described in this document for any purpose relating to military applications or use by the military, including but not limited to the development of weapons of mass destruction. when exporting the renesas electronics products or technology describe d in this document, you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations. 10. it is the responsibility of the buyer or distributor of re nesas electronics products, who di stributes, disposes of, or othe rwise places the product with a third party, to notify such third part y in advance of the contents a nd conditions set forth in this document, renesas electronics assumes no responsibility for any losses incurred by you or third parties as a result of unauthorized use of renesa s electronics products. 11. this document may not be reproduced or duplicated in any fo rm, in whole or in part, without prior written consent of renesa s electronics. 12. please contact a renesa s electronics sales office if you have any questi ons regarding the informat ion contained in this doc ument or renesas electronics products, or if you have any other inquiries. (note 1) ?renesas electronics? as used in this document means renesas electronics corporation and also includes its majority- owned subsidiaries. (note 2) ?renesas electronics product(s)? means any product developed or manufactured by or for renesas electronics. (2012.4)
how to use this manual target readers this manual is intended for users who are us ing the flash programmer in designing and developing a system that employs a renesas electronics microcontroller equipped with on- chip flash memory . purpose this manual i s intended to give users an understanding of the basic specifications and correct use of the renesas flash programmer . organization this manual includes the following sections. ? basic operation (basic mode) ? function details (basic mode) ? function details (full mode) ? script execution function how to read this manual it is assumed that the readers of this manual have general knowledge of electricity, logic circuits, and microcontrollers . conventions note : footnote for item marked with note i n the text. caution : information requiring particular attention remark : supplementary information numeral representation: binary ... xxxx or xxxxb decimal ... xxxx hexadecimal ... 0xxxxx or xxxxh ? ?: any character or item on the screen that c an be selected or input : name of button [ ]: name of commands, dialog boxes, options, or areas on the screen related documents when using this manual, also refer to the following documents. the related documents indicated in this publication may include preliminary versions . however, preliminary versions are not marked as such . documents related to development tool s document name document number renesas flash programmer v2.0 4 common r20u t 2906e renesas flash programmer v2.0 4 rl78, 78k, v850 r20ut 2907e renesas flash programmer v2.0 4 RX100, rx200, rx600(except rx64x) this manual renesas flash programmer v2.0 4 rh850, rx6 4x r20ut 2909e e1 emulator r0e000010kce00 e20 emulator r0e0 00200kct00 r20ut0398e caution the related documents listed above are subject to change without notice. be sure to use the latest version of each docu ment for designing, etc.
term replacement when the RX100 is used, some terms in this manual should be replaced as shown in the table below. term to be replaced with flash shield window area protection usb direct usb interface mode get flash options access window read set security access window program all trademarks and registered trademarks are the property of the respective owner.
contents chapter 1 basic operation (basic mode) - rx - .......................................... 7 chapter 2 function details (basic mode) - rx - ....................................... 18 2 .1 introduction ............................................................................................................................. 18 2 .2 starting up ............................................................................................................................... 18 2.2.1 [welcome!] dialog box ............................................................................................. 19 2.2.2 [create a new workspace] dialog box .................................................................... 20 2.2.3 [communication interface] dialog box ................................................................... 21 2.2.4 [power supply] dialog box ...................................................................................... 22 2.2.5 [mode pin at connection] dialog box ..................................................................... 23 2.2.6 [connection and query] dialog box ....................................................................... 24 2.2.7 [frequency] dialog box ............................................................................................ 26 2.2.8 [communication speed] dialog box ....................................................................... 28 2.2.9 [ project settings] dialog box ................................................................................... 29 2.2.10 open l atest workspace ............................................................................................ 30 2.2.11 o pen workspace ....................................................................................................... 30 2 .3 main window ........................................................................................................................... 32 2 .4 menu bar ................................................................................................................................. 33 2.4.1 [ f ile] menu ................................................................................................................ 33 2.4.2 [ t ool] menu ............................................................................................................... 35 2.4.3 [ m icrocontroller] menu ............................................................................................ 36 2.4.4 [ h elp] menu ............................................................................................................... 52 2 .5 [ microcontroller ] area ............................................................................................................ 52 2 .6 [ program file ] area ................................................................................................................ 53 2 .7 [command] area ..................................................................................................................... 53 2 .8 start button ............................................................................................................................. 54 2.9 status bar ................................................................................................................................ 54 2.10 output panel ........................................................................................................................... 55 2 .11 clear output panel button ..................................................................................................... 55 chapter 3 function details (full mode) - rx - ......................................... 56 3 .1 introduction ............................................................................................................................. 56 3 .2 starting up ............................................................................................................................... 56 3 .3 main window ........................................................................................................................... 57 3. 4 menu bar ................................................................................................................................. 58 3.4.1 [ f ile] menu ................................................................................................................ 58 3.4.2 [ t ool] menu ............................................................................................................... 58 3.4.3 [ m icrocontroller] menu ............................................................................................ 59 3.4.4 [ h elp] menu ............................................................................................................... 60 3 .5 tool bar ................................................................................................................................... 60 3 .6 [ workspace tree ] panel ......................................................................................................... 61 3 .7 [project settings] panel ......................................................................................................... 63 3.8 output panel ........................................................................................................................... 63 3.9 status bar ................................................................................................................................ 63 chapter 4 script execution function ....................................................... 64
4.1 overview .................................................................................................................................. 64 4.2 start and exit ........................................................................................................................... 64 4.3 script file ................................................................................................................................. 65 4.4 script commands ................................................................................................................... 65 4.5 log file ..................................................................................................................................... 68 4.6 how to handle dialog boxes opened while the program is running .............................. 68
renesas flash programmer v2.0 4 chapter 1 basic operation r20ut2908ej0100 rev. 1.00 page 7 of 71 mar. 31, 2014 chapter 1 basic operation (basic mode) - rx - this chapter describes the operation method by using the rx as the target microcontroller as an example to help you understand a series of basic operations with the basic mode of r f p. this chapter covers h ow to start the system, execute the [ p rogram ] command , and write the target microcontroller. ? series of operations described in this chapter: the operati ng conditions are as follows : target microcontroller: r5f562taa ( rx62t ) target system : renesas start er kit for rx62t tool used: e1 interface : 2 wire uart communication speed setting : 1,562,500 bps frequency : 12.50 mhz (main clock 8 multiplication , peripheral clock 4 multiplication) power supply : e1 (5.0 v (usb vbus) ) other settings: initial value th e steps described in this chapter are as follows : (1) installation (2 ) system connection (3 ) connection of target system (4 ) creation of workspace (5 ) s election of program file (6 ) execution of [ p rogram ] command (7 ) system shutdown (1) installation see co mmon chapter 2 installation and install in the host pc. (2) system connection connect the usb connector of rfp to the usb port on the host pc using a usb cable. (3) connection of target system connect the target cable of the tool used to the target syst em . remark connect the target system before supplying v dd power from the target system.
renesas flash programmer v2.0 4 chapter 1 basic operation r20ut2908ej0100 rev. 1.00 page 8 of 71 mar. 31, 2014 (4 ) creation of workspace <1> on the taskbar, click the start button, point to [all programs], [renesas electronics utilities ], [programming tools], [renesas flash programmer v x . xx ], and then click [renesas flash programmer v x . xx ]. the [welcome!] dialog box will open. select [create new w orkspace.] , select [ b asic m ode], and then click the n ext button to open the [create new workspace] dialog box. figure 1 - 1. [welcome!] dialog box <2> in the [ u sing target microcontroller:] list box, select group: ?rx ? , device name: ?generic boot device?. enter any text string (such as ?sample? in this case) in the [ w orkspace name:] box, and specify any folder in the [fo l d er:] box. clicking the n ext button displays the [communication interface] dialog box. figure 1 - 2 . [create new workspace] dialog box
renesas flash programmer v2.0 4 chapter 1 basic operation r20ut2908ej0100 rev. 1.00 page 9 of 71 mar. 31, 2014 <3> select ?e1? in the [ t ool:] list box. for r5f562taa, the selection in the [ i nterface ] list box is fixed to ? 2 wire uart ?. clicking the n ext > button displays the [power supply] dialog box. figure 1 - 3 . [communication interface ] dialog box <4> select the [ p ower target from the emulat or] check box, and then select ?5.0 v (usb vbus) ? for [ s upply voltage]. clicking the o k button displays the [mode pin at connection] dialog box. figure 1 - 4 . [power supply] dialog box
renesas flash programmer v2.0 4 chapter 1 basic operation r20ut2908ej0100 rev. 1.00 page 10 of 71 mar. 31, 2014 <5> set the [pin outputs] check boxes and [pin setting (h igh)] check boxes . for r5f562taa, set io2 of e1 to high for the md0 pin, and set io3 of e1 to low for the md1 pin. clicking the o k button displays the [confirmation] dialog box. figure 1 - 5. [mode pin at connection] dialog box remark : processing t he io pins is done to set the operati n g mode of the rx to the boot mode. for the rx62t, control must be applied to set the md0 pin to the high level and the md1 pin to the low level . this can be done by connecting any of pins from io0 to io5 of the e1/e20 and making the required setting s in the [mode pins at connection] dialog box. for the io0 to io5 pins of e1, refer to common appendix b figure b -1 . e1 and e20 pins - rx . <6> check that the board is connected, powered, and in boot mode. clicking the ok button displays the [select emulator ] dialog box. figure 1 - 6 . [confirmation] dialog box <7> the name and serial number of the detected emulator are displayed. select it. the serial number is printed on the chassis. clicking the ok button estab lish connection with the device and displays the [query generic device] dialog box. figure 1 - 7. [select emulator] dialog box
renesas flash programmer v2.0 4 chapter 1 basic operation r20ut2908ej0100 rev. 1.00 page 11 of 71 mar. 31, 2014 <8> a query for the target microcontroller is performed. clicking the ok button displays the [ frequency ] dialog box. fig ure 1 - 8. [query generic device] dialog box <9> enter ?12.50? in the [ f requency:] box in the [clock supply] area. the [ i nternal/external:] list box displays the result of the query ?external resonator or clock? . select ?8? from the [ck m :] list box in the [multiplier for the main clock or peripheral clock] area. select ?4? from the [ck p :] list box. the [c lock mode:] list box displays the result of the query ?0?. clicking the n ext > button displays the [ communication speed ] dialog box. figur e 1 - 9 . [ frequency ] dialog box
renesas flash programmer v2.0 4 chapter 1 basic operation r20ut2908ej0100 rev. 1.00 page 12 of 71 mar. 31, 2014 <10> clear the [use d efault] check box, and select ?1562500? from the [ communication s peed ( recommended ): ] list box. clicking the finish button displays the [ project settings] dialog box. figure 1 - 10. [ communicat ion speed ] dialog box <11> the [basic settings] tab in the [ project settings] dialog box allows you to check basic information about programming. clicking the [other settings] tab of the [ project settings] dialog box displays the [other settings] ta b in the [ project settings] dialog box. figure 1 - 11. [ project settings] dialog box [basic settings] tab
renesas flash programmer v2.0 4 chapter 1 basic operation r20ut2908ej0100 rev. 1.00 page 13 of 71 mar. 31, 2014 <12> the [other settings] tab in the [ project settings] dialog box allows you to specify and check advanced information about programming. leave the initial values for other settings. clicking the ok button saves the project file and displays the main window. figure 1 - 12. [ project settings] dialog box [other settings] tab
renesas flash programmer v2.0 4 chapter 1 basic operation r20ut2908ej0100 rev. 1.00 page 14 of 71 mar. 31, 2014 (5) selection of program file <1> clicking the b rowse? button in the user/data area: of the program file area displays the [open file] dialog box. figure 1 - 13 . main window
renesas flash programmer v2.0 4 chapter 1 basic operation r20ut2908ej0100 rev. 1.00 page 15 of 71 mar. 31, 2014 <2> select ?sample. mot ? in the [open file] dialog box, and then click the o pen b utton to open the main window. figure 1 - 14. [open file] dialog box
renesas flash programmer v2.0 4 chapter 1 basic operation r20ut2908ej0100 rev. 1.00 page 16 of 71 mar. 31, 2014 (6) execute the [ p rogram] command <1> click the [microcontroller] menu and select the [ p rogram] command. a check mark is then placed on the left of the command, and the command is assigned to the start button. figure 1 - 15 . main window <2> after clicking the start button, execute the [ p rogram] command for r5f562taa. remark when the [ p rogram] command is executed, programming is performed after the block with data is era sed. to erase all blocks, set [all erase before program] in the [ command options] category in the [other settings] tab of the [ project settings] dialog box to ?true.? <3> when execution of the [ p rogram] command ends normally, ?image written to device? a nd ?disconnected? are displayed on the output panel. remarks 1. when necessary, connect the tool to be used to the target system , and then execute the [ p rogram] command. 2. when supplying v dd power to the target system, first turn off the power, connect the target system (for programming), and then turn on the power and execute the [ p rogram] command.
renesas flash programmer v2.0 4 chapter 1 basic operation r20ut2908ej0100 rev. 1.00 page 17 of 71 mar. 31, 2014 figure 1 - 16. [ p rogram] command execution results (7 ) system shutdown <1 > unless there are other target microcontrollers to be programmed, click the [ f ile] menu and select the [e x it] command to close rfp. a ll settings made so far will be saved to a project file. < 2 > remove th e usb cable from the tool used. <3> disconnect the target cable from the target system. remark when supplying v dd power to the target system, turn off the power before removing the target cable . furthermore, if [auto disconnect] in the [ basic mode options] category in the [other settings] tab of the [ project settings ] d ialog box is set to ?false,? remove the target system after executing [disconnect to device]. caution if an error occur s during the above procedure, see common chapter 4 troubleshooting and appendix a messages. also see the user?s manual of the tool us ed and execute diagnostic tests. if the above still does not resolve the problem, see the faq (at http://www.renesas.com/supp ort / ), or contact renesas via the renesas website: http://www.renesas.com/contact/ .
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 18 of 71 mar. 31, 2014 chapter 2 function details (b asic m ode ) - rx - this chapter describes function details of the commands, windows, and dialog boxes of the basic mode of r f p. 2 .1 introduction make sure that the rfp package is installed. for how to install the rfp pack age , see common chapter 2 rfp installation . before starting rfp, make sure that the debugger and utility are not running. 2 .2 starting up on the taskbar, click the start button, point to [all programs], [renesas electronics utilities ], [programming t ools], [renesas flash programmer v x . xx ], and then click [renesas flash programmer v x . xx ]. the [welcome!] dialog box will open. follow the instructions that appear in the wizard. when setup is finished, the main window is displayed. the [power supply ] , [mode pin at connection], [frequency], and [ communication speed ] dialog boxes are skipped depending on the selected connection method . figure 2 - 1. dialog boxes displayed in the startup wizard [create a new workspace] [communication interface] [welcome!] (see 2 .2.2 ) [open workspace] main window (see 2 .2.11 ) (see 2 .2.3 ) (see 2 .2.1 ) (see 2 .3 ) create a new workspace open latest workspace open a created workspace (see 2 .2.10 ) [connection and query] [mode pin at connection] [frequency] [ communication speed ] (see 2 .2.5 ) (see 2 .2.6 ) (see 2 .2.7 ) (see 2 .2.8 ) [project settings] (see 2 .2.9 ) [power supply] (see 2 .2.4 )
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 19 of 71 mar. 31, 2014 or a main window is opened by the following method. in the case of (1), the main window of the version installed recently opens. (1) double clicking a workspace file. (2) dragging and dropping a workspace file onto rfp.exe. (3) typing rfp.exe followed by the name of a workspace file at th e command prompt and so on; then executing it. 2 .2.1 [ welcome! ] dialog box this dialog box is used to make a selection about a workspace. figure 2 - 2. [welcome!] dialog box to create a new workspace, select [ create new w orkspace .] , and then select [ ba sic m ode] or [ f ull mo de]. to open the workspace used last time, select [ open l atest workspace .]. to open a created workspace, select [ o pen workspace . ]. clicking the n ext button displays the next dialog box. clicking the c ancel or the x button termin a t e s r f p.
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 20 of 71 mar. 31, 2014 2 .2.2 [create a new workspace] dialog box this dialog box is used to create a new workspace. figure 2 - 3. [create a new workspace] dialog box (1) [m icrocontroller:] list box select ?all?, ? generic boot device ?, ?v850?, ?rl78?, or ?78k? to narrow down the microcontrollers that can be selected in the [ u sing target microcontroller:] list box. (2) [f ilter:] box enter a character string that matches the character strings displayed in the [ u sing target microcontroller:] list box to narrow down t he microcontrollers that can be selected in the [ u sing target microcontroller:] list box. (3) [u sing target microcontroller:] list box select the target microcontroller to be used. (4) [w orkspace name:] box enter the workspace name in this box. (5) [pro ject name:] box e nter the project name. (6 ) [fo l der:] box specify a folder in which to create the workspace file. enter the path in the [ f older:] box, or click the br owse... button to display the [select folder] dialog box, and then specify the folder. clicking the n ext button displays the next dialog box. clicking the c ancel or the x button terminates rfp. (1) (2) (3) (4) (5) (6)
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 21 of 71 mar. 31, 2014 2 .2.3 [communication interface ] dialog box this dialog box is used to select the tool used and display the connection method between the sel ected tool and the target microcontroller. figure 2 - 4. [communication interface ] dialog box (1 ) tool image panel an image of the tool selected in the [select t ool:] list box is displaye d. figure 2 - 5 . tool image panel (2 ) [t ool:] list box select the tool to be used. ? e1 ? e20 ? usb direct ? comx (3 ) [interface:] list box the connection method between the selected tool and the target microcontroller is displayed. ? 2 wire uart (wh en rx is selected) ? fine ( when RX100 (fine) and rx200 (fine) are selected) ? usb (when usb direct is selected) clicking the n ext > button displays the next dialog box. clicking the cancel or the x button terminates rfp. (1) (3) (2)
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 22 of 71 mar. 31, 2014 2 .2.4 [power supply] dialog box this dialog box is used to specify the power supply used for writing to the target microcontroller. figure 2 - 6 . [power supply] dialog box [p ower target from the emulator] check box select this check box if supplying power from the emulator . clear this check box if supplying power from the target system. [s upply voltage:] option button when supplying power from the tool used, select a voltage of 3.3 v or 5.0 v (usb vbus) . caution e1 support s the power supply function. in the mass - production proc ess, do not use the power supply function of e1. instead, supply the power suitable for the microcontroller specifications from the target system. the supply voltage from e1 is dependent on the usb power performance of the host pc , so the accuracy cannot be guaranteed. clicking the o k button displays the next dialog box. clicking the c ancel or the x button returns you to the [communication interface] dialog box .
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 23 of 71 mar. 31, 2014 2 .2.5 [mode pin at connection] dialog box this dialog box is used to select the pin t o control the mode pin of the target microcontroller from io0 to io5 pins of e1/e20. figure 2 - 7. [mode pin at connection] d ialog b ox [pin outputs] check box select the pin to control the mode pin of the target microcontroller from io0 to io5 pins . a selected check box is output, and a cleared check box is input. [pin setting (high)] check box set the level of the selected io0 to io5 pins to high or low. a selected check box is high , and a cleared check box is low . this setting is effective only whe n the i/o direction is output . remark for the io0 to io5 pins of e1 and e20 , refer to common a ppendix b figure b -1 . e1 and e20 pins - rx -. clicking the o k button displays the next dialog box. clicking the c ancel or the x button returns you to the [communication interface] dialog box .
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 24 of 71 mar. 31, 2014 2 .2.6 [connection and query] dialog box this dialog box is used to perform connection and a query of the target microcontroller and create a device information file. caution the connection is maintained after query ing the device until the disconnection processing is executed. (1) confirm before connecting to the target microcontroller. figure 2 - 8. [confirmation] d ialog b ox clicking the ok button displays the next dialog box. clicking the cancel or the x button returns you to the [communication interface] dialog box . (2) when e1 or e20 is selected, the [select emulator ] dialog box is displayed. the name and serial number of the detected usb device are displayed. select it. figure 2 - 9. [select emulato r ] d ialog b ox clicking the ok button displays the next dialog box. clicking the cancel or the x button returns you to the [communication interface] dialog box . remark this dialog box is displayed only when rfp starts up for the first time. it wo n ? t be displayed for the second time and on. after a restart of rfp, it is displayed only for the first time and not for the second time and on.
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 25 of 71 mar. 31, 2014 (3) when usb direct is selected, the [select usb device] dialog box is displayed. the detected usb port num ber is displayed. select it. figure 2 - 10. [ select usb device ] dialog box clicking the o k button displays the next dialog box. clicking the c ancel or the x button returns you to the [communication interface] dialog box . remark this dialog box i s displayed only when rfp starts up for the first time. it won?t be displayed for the second time and on. after a restart of rfp, it is displayed only for the first time and not for the second time and on. (4) a query for the target microcontroller is p erformed. figure 2 - 11. [query generic device] dialog box clicking the ok button displays the next dialog box. clicking the cancel or the x button returns you to the [communication interface] dialog box . (5 ) for some microco ntrollers, t he [select device] dialog box opens at the time of query by [select device]. select a device from the [select a device :] box. figure 2 - 12 [select device] dialog box
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 26 of 71 mar. 31, 2014 2 .2.7 [ frequency ] dialog box this dialog box is used to set clock supply and multip liers for the main clock and peripheral clock. figure 2 - 1 3 . [ frequency ] dialog box (1) [clock supply] area this area is used to select the communication speed at the port. figure 2 - 1 4 . [clock supply] a rea [ i nternal/external:] list box displays t he type of clock supplied to the target microcontroller . external resonator or clock clock or clock resonator for a microcontroller that does not support the clock switching function external clock clock for a microcontroller that support s the clock switc hing function external resonator clock resonator for a microcontroller that supports the clock switching function internal clock on - chip oscillator for a microcontroller that supports the clock switching function [ input f requency: ] list box enter the c lock supplied to the target microcontroller . (1) (2)
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 27 of 71 mar. 31, 2014 (2) [multiplier for the main clock or peripheral clock] area set the clock mode, ckm, and ckp. figure 2 - 1 5 . [ multiplier for the main clock or peripheral clock ] a rea [ c lock mode : ] list box select a value. [ck m :] list box select a multiplication ratio of the main clock. [ck p :] list box select a multiplication ratio of the peripheral clock. remark for available multiplication ratios, refer to the user ? s manual of the target microcontroller. clicking the < b ack button displays the previous dialog box. clicking the n ext > button displays the next dialog box. clicking the cancel or the x button terminates rfp.
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 28 of 71 mar. 31, 2014 2 .2.8 [ communication speed ] dialog box this dialog box is used to set communication spee d . figure 2 - 1 6 . [ communication speed ] dialog box (1) [ communication s peed (recommended) :] list box if the [use d efault] check box is selected, ?38400? is selected. if the check box is cleared, one of the recommended baud rates can be selected. (2) [u ser specified:] box when e1/e20 is selected, a non - standard communication speed can be entered. the displayed error takes into account the peripheral clock of the microcontroller, communication speed calculation formula, and the characteristics of e1/e2 0. clicking the < b ack button displays the previous dialog box. clicking the finish button displays the next dialog box. clicking the cancel or the x button terminates rfp.
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 29 of 71 mar. 31, 2014 2 .2.9 [project settings] dialog box this dialog box is used to check an d change the project settings. it has the [basic settings] tab and [other settings] tab. selecting a tab changes the categories in which settings are displayed. figure 2 - 1 7 . [project settings] dialog box for details about each item, see 2 .4. 3 (11 ) (f) [project settings] d ialog b ox . clicking the m odify... button opens the [communication interface] dialog box. clicking the ok button saves the project file and opens the main window. clicking the cancel or the x button terminates rfp. remark t he m odify? button is disabled while it is connected with the target controller. to enable it, select the [ m icrocontroller] menu and select [ d isconnect to device], then select [project settings] from the [ m icrocontroller] menu to display the [project set tings] dialog box.
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 30 of 71 mar. 31, 2014 2 .2.10 open l atest workspace if you select [ open l atest workspace .] in the [welcome!] dialog box, the main window is displayed with the settings for the workspace used last time. figure 2 - 1 8 . [ open l atest w orkspace .] 2 .2.11 o pen wo rkspace if you select [ o pen workspace . ] in the [welcome!] dialog box, the [open file] dialog box is displayed. figure 2 - 1 9 . [ o pen w orkspace .]
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 31 of 71 mar. 31, 2014 figure 2 - 20. [open file] dialog box select a workspace file, and then click the o pen button. the mai n window is displayed with the settings for the specified workspace. clicking the cancel or the x button closes the [open file] dialog box and returns you to the [welcome!] dialog box.
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 32 of 71 mar. 31, 2014 2 .3 main window the main window consists of the following items: figure 2 - 2 1 . main window name description see <1> menu bar displays the selectable menus 2 .4 <2> [microcontroller] area displays the selected target microcontroller 2 . 5 <3> [program file] area displays the selected program file 2 .6 < 4 > [ command ] area displays the selected command 2 .7 < 5 > start button executes the selected command 2 .8 < 6 > status bar displays the command execution status in colors and text 2 .9 < 7 > output panel displays in detail what is executed by the command 2 .10 < 8 > [ c lear o utput panel ] button clears the output panel display 2 .11 <7> output panel <1> menu bar <6> status bar <5> start button <3> [ program file ] area <2> [ microcontroller ] area <4> [ command ] area <8> [ clear output panel ] button
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 33 of 71 mar. 31, 2014 2 .4 menu bar the menu bar consists of [ f ile], [ t ool], [ m icrocontroller], and [ h elp]. when a menu is selected, the pull - down menu is displayed where the items can be selected. some items may be di sabled depending on the settings. 2 .4.1 [f ile] menu the following pull - down menu appears by select ing the [ f ile] menu. figure 2 - 2 2 . [ f ile] m enu (1) [ create a n ew workspace ] the [create a new workspace] dialog box is displayed. create a new workspa ce. save the project file that has been created. for the items in the dialog box, refer to 2 .2.2 . figure 2 - 2 3 . [ create new workspace ] dialog box (1) (2) (3)
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 34 of 71 mar. 31, 2014 (2) [o pen a w orkspace ] selecting this option opens the [open file] dialog box in which you can open a w orkspace created before . save t he project file that has been created. for the items in the dialog box, see 2 .2.11 . figure 2 - 2 4. [open file] dialog box (3) [ex it ] [ ex it ] terminates rfp . rfp can also be terminated by clicking the x button on the right end of the title bar in the main window. when rfp is terminated, various settings are saved in the rfp.ini file. save the project file that has been created.
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 35 of 71 mar. 31, 2014 2 .4.2 [t ool] menu selecting the [ t ool ] menu displays the pull - down menu as shown in the f igure below. figure 2 - 25. [ t ool] menu (1) [u nique c ode settin g ] selecting this option displays the [ u nique code setting ] dialog box, in which you make settings for imbedding unique codes. save t he project file that has been created. for the items in the dialog box, refer to common chapter 4 . figure 2 - 26. [unique c ode setting ] dialog box (2) [c hange to f ull mode ] selecting this option switches the mode from basic to full. save t he project file that has been created. for the full mode feature s, refer to chapter 3 . caution this menu is grayed out when a device is connected . to enable this menu, execute [disconnect to device ] . (1) (2)
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 36 of 71 mar. 31, 2014 2 .4.3 [m icrocontroller] menu the following pull - down menu appears by select ing the [ m icrocontroller] menu. this menu is used for selection and setting of commands such as disconnection from a device, all erase, and program. if you select a command, the check mark is displayed at the left of the command, and the command is assigned to the start button. note that [ d isc onnect to device] and [ s et project] commands are not assigned to the start button. figure 2 - 2 7 . [ m icrocontroller] m enu (1) [d isconnect to device] this command is used to disconnect from the device, and shut off the power supply if the [power tar get from the emulator] check box is selected in the [power supply] dialog box. (2) [b lank check] comma n d this command executes blank check on all flash memory blocks. (3) [e rase] command this command erases the specified flash memory block. executing t he [ e rase] command opens the [erase] dialog. the blocks whose checkboxes are selected will be erased. the [ e rase] command is executed in accordance with the settings of [erasure permission] of the [user boot area options] category in the [other settings] tab of the [project settings] dialog box. refer to 2 .4.3. ( 11 ) (f) <1 2 > [user boot area options] category for details. (1) (2) (3) (4) (5) (6 ) (7 ) (8 ) (9 ) (10) (1 1)
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 37 of 71 mar. 31, 2014 figure 2 - 28. [tree] tab of [eras e ] dialog box clicking the select all button selects all blocks for erasure. clicking the select w ritten button selects all blocks that have been programmed for erasure. clicking the e rase button selects the specified block for erasure. clicking the cancel or x button returns you to the main window without erasing a block. figure 2 - 29. [address] ta b of the [ erase ] dialog box specify each eras ing target area by entering the start address and the end address, or by entering the start address and the data length. clicking [ e rase ] leads to eras ing of the data from the specified address range. click ing [cancel] or [x] closes the dialog box without performing eras ing .
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 38 of 71 mar. 31, 2014 (4 ) [a l l erase] command this command is used to erase all blocks of the flash memory. the operation of the [a l l erase] command is subject to the setting of [erasure permission] of the [user boot area options] category in the [other settings] tab of the [project settings] dialog box. for details, see 2 .4.3 ( 11 ) (f) <1 2 >, [user boot area options] category . (5 ) [p rogram] command this command is used to write the program file selected in the program file area to the flash memory. when programming is complete, the result is displayed. the operation options related to the [program] command are according to the settings of [all erase before program], [verif y after program ], [checksum after program ] , [ security after program ] , and [file over warning] in the [ command options] category of the [other settings] tab in the [project settings] dialog box . for details, see 2 .4. 3 (11 ) (f) <8> [ command options] category . remark when the [program] co mmand is executed, programming is performed after the block with data is erased. to erase all blocks, set [all erase before program] in the [ command options] category in the [other settings] tab of the [project settings] dialog box to ?true.? (6 ) [v erif y] command th is command is used to verif y that the data written to the flash memory is the same as the data in the program file selected in the program file area.
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 39 of 71 mar. 31, 2014 (7) [r ead] command this command reads the specified flash memory block. executing the [ r e ad] command opens the [save as] dialog box. figure 2 - 30. [save as] dialog box enter a filename in the [file n ame:] box. a saving format " s- record file (*.mot) " is specified in the [save as type:] list box. clicking [ s ave] specifies the file name , closes the dialog box, and opens the [ read ] dialog box. the dialog box has the [tree] tab and the [address] tab. selecting either of them determines how you specify the item to be read . clicking [cancel] or [x] closes the dialog box without specifying th e file name . figure 2 - 3 1 . [tree] tab of the [ read ] dialog box
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 40 of 71 mar. 31, 2014 the blocks with boxes under the region column checked are read . [absolute i mage] checkbox checked: when the read data are saved to a file, the data are saved at the address in flash memo ry from which the data were read out. not checked: when the read data are saved to a file, the data are saved in the address range starting from address 00h. clicking [select a ll] selects all blocks for reading . clicking [select w ritten] selects all blocks that have been programmed for reading . clicking [ r ead ] leads to reading of the selected blocks and sav ing of the contents in a file when the process ends normally. clicking [cancel] or [x] closes the dialog box without performing reading . figure 2 - 3 2 . [ address] tab of the [ read ] dialog box specify each reading target area by entering the start address and the end address, or by entering the start address and the data length. [ a bsolute image] che ckbox checked: when the read data are saved to a file, the data are saved at the address in flash memory from which the data were read out. not checked: when the read data are saved to a file, the data are saved in the address range starting from address 00h. clicking [ r ead ] leads to read ing of the data from the specified address range and sav ing of the contents in a file when the process ends normally . clicking [cancel] or [x] closes the dialog box without performing reading . (8 ) [ set securit y ] command th is command is used to set security of the target microcontroller . when the [ set security ] command is executed, the contents that are set in the [ security setting ( flash shield window ) ] category in the [other settings] tab of the [project settings] dialog box are reflected to the target microcontroller. for details of settings including the security settings , see 2 .4. 3 ( 11 ) (f) < 14 > [ security setting ( flash shield window) ] category .
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 41 of 71 mar. 31, 2014 (9) [checksu m ] command this command reads the checksum calculated in the target microcontroller and displays it on the output panel. checksums are calculated as follows: calculation method: 32 - bit sum method calculation scope: the user area, the user boot area, and the data area figure 2 - 3 3 . output panel after execution of [checksu m ] command remark 32- bit addition is the eight lower - digit of the result of adding the value of all bytes in the flash memory. (10) [ ge t flash options ] command th is command is used t o read the contents of the flash options settings of the target microcontroller. the read results are reflected to the [ security setting ( flash shield window )] category in the [other settings] tab of the [project settings] dialog box and displ a yed . when this command is executable, the flash options settings can be verified by executing this command before executing the [set securit y ] command. for details of flash options settings , see 2 .4. 3 ( 11 ) (f) < 14 > [s ecurity setting ( flash shield window) ] category . figure 2 - 3 4 . [ ge t flash options ] command getting the checksum of the d evice checksum of the flash: 0x03fc0000 user flash checksum of the flash: 0x003fc000 user boot flash checksum of the flash: 0x0048aac4 data flash
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 42 of 71 mar. 31, 2014 (11 ) [s et project ] when [project settings] is selected, the [project settings] dialog box is displayed, and you can check and change project settings. you can select [basic settings] tab or [other settings] tab, each of which presenting its specific category of set tings. when the m odify ? button in the [ basic settings ] is clicked, the [communication interface ] dialog box is displayed, and you can change the settings in the wizard format (refer to figure 2 - 3 5 ). the [ communication speed ] dialog box is not displayed when usb direct is selected. the [power supply] dialog box is displayed when e1 is selected. the [mode pins] dialog box is displayed when e1 or e20 and 2 wire uart is selected . figure 2 - 3 5 . flow of s etting c hange with the m odify... b utton (a) [ communication interface ] dialog box this dialog box is used to select the tool used and the port used for communication between the selected tool and the target microcontroller. figure 2 - 3 6 . [ communication interface ] dialog box for details about each item, see 2 .2.3 . clicking the n ext > button displays the next dialog box. clicking the cancel or the x button returns you to the [project settings] dialog box. [ communication interface ] [mod e pins] [ frequency ] [ communication speed ] [power supply] [ project settings]
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 43 of 71 mar. 31, 2014 (b) [fre quency] dialog box this dialog box is used to set clock supply and multiplication ratios for the main clock and peripheral clock. figure 2 - 3 7 . [frequency] dialog box for details about each item, see 2 .2.7 . clicking the < b ack button displays the pre vious dialog box. clicking the n ext > button displays the next dialog box. clicking the cancel or the x button returns you to the [project settings] dialog box. (c) [ communication speed ] dialog box this dialog box is used to set communication speed . figure 2 - 3 8 . [ communication speed ] dialog box for details about each item, see 2 .2.8 . clicking the < b ack button displays the previous dialog box. clicking the n ext > button displays the next dialog box. clicking the cancel or the x button re turns you to the [project settings] dialog box.
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 44 of 71 mar. 31, 2014 (d) [power supply] dialog box this dialog box is used to set power supply for the target system. figure 2 - 3 9 . [power supply] dialog box for details about each item, see 2 .2.4 . clicking the < b ack butt on displays the previous dialog box. clicking the n ext > button displays the next dialog box. clicking the c ancel or the x button returns you to the [project settings] dialog box. (e) [mode pins] dialog box this dialog box is used to select the pin to control the mode pin of the target microcontroller from io0 to io5 pins . figure 2 - 40. [mode pins] dialog box remark for the io0 to io5 pins of e1 and e20, refer to common appendix b fi gure b -1 . e1 and e20 pins - rx -. for details about each item, see 2 .2.5 . clicking the < b ack button displays the previous dialog box. clicking the finish button saves the workspace file and returns you to the [project settings] dialog box. clicking the cancel or the x button returns you to the [project setti ngs] dialog box.
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 45 of 71 mar. 31, 2014 (f) [project settings] dialog box this dialog box is used to check and change the project settings. it has the [basic settings] tab and [other settings] tab. selecting a tab changes the categories in which settings are displayed. figu re 2 - 4 1 . [project settings] dialog box [basic settings] tab <1> [device information] category <2> [communication interface ] category <3> [clock] category <4> [communication speed ] category <5> [target power] category <6> [ mode pins a t connect ion ] categ ory [other settings] tab <7> [basic mode option] category <8> [ command options] category <9> [ mode pins a t disconnect ion ] category < 10> [ id code authentication ] category <1 1 > [timeout option] category <1 2 > [user boot area options] category <1 3 > [lock bit] category <1 4 > [ security setting ( flash shield window ) ] category clicking the m odify... button displays the [communication interface] dialog box. clicking the ok button saves the project file and returns you to the main window. clicking the cancel o r the x button returns you to the main window.
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 46 of 71 mar. 31, 2014 <1> [device information] category th is category displays information about the microcontroller such as device name , base device , and device information file path . device name displays the device name. ba se device displays the base device of the device. device information file path displays the parameter file path of the device. <2> [communication in terface ] category this category displays to o l and connection . tool name displays the communication tool between the target board and host pc. connection displays the connection method between the target board and host pc. <3> [clock] category th is category displays clock - related information such as clock type , frequency , ckm , and ckp . clock type clock is supplied to the device via internal or external clock. input frequency ( mhz ) displays the input frequency of the device. clock mode displays the clock mode of the device. ckm displays the multiplication or frequency dividing of the main clock. ckp dis plays the multiplication or frequency dividing of the peripheral clock. <4> [ communication speed ] category th is category displays communication speed - related information such as communication speed specified by , communication speed value (bps) , and use d efault value . communication speed specified by displays the communication speed based on the recommended speeds or user specified. communication speed value (bps) displays the communication speed with the device. use default displays if the recommended default communication speed is used or not. <5> [target power] category this category displays power supply of the target device. supply power displays the power supply for the target device. <6> [ mode pin s at connect ion ] category this category displ ays the state of the mode pin to start the device in the boot mode when it is connected. mode pin information displays the state of the mode pin to start the device in the boot mode at connection.
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 47 of 71 mar. 31, 2014 <7> [basic mode option] category th is category is used to select whether or not to automatically disconnect after execution. auto disconnect select s whether to disconnect automatically after execution. true enabled false disabled <8> [ command options] category th is category is used to select readback ve rification , all erase before program , request checksum , and file over warning . all erase before program select s whether to erase all blocks before programming. true enabled false disabled verif y after program select s whether to execute readback verif ication after programming. true enabled false disabled checksum after program select s whether to obtain the checksum of the device after programming. true enabled false disabled security after program select s whether to set security after program ming. true enabled false disabled file over warning select s whether to display the warning dialog when the program file exceeds the rom size of the flash. true enabled false disabled remark t he checksum is the eight lower - order digits of the resu lt of adding the value s of all bytes in the flash memory.
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 48 of 71 mar. 31, 2014 <9> [ mode pin s a t disconnect] category th is category displays or is used to select reset pin as low , reset device , and mode pins information . reset pin as low select s whether to set the reset pin at low level when disconnecting from the device. true the reset pin is set to low level. false the reset pin is set to high impedance. reset device select s whether to reset the device when disconnecting from the device. true enabled false disable d mode pins information specif ies the mode pin state when resetting the device. [pin outputs] check box selects the pin to control the mode pin of the target microcontroller from io0 to io5 pins . a selected check box is output, and a cleared check box is input. [pin setting (high)] check box sets the level of the selected io0 to io5 pins to high or low. a selected check box is high, and a cleared check box is low. this setting is effective only when the i/o direction is output. remark for the io0 to io5 pins of e1 and e20, refer to common appendix b figure b -1 . e1 and e20 pins - rx -.
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 49 of 71 mar. 31, 2014 <1 0 > [id code authentication ] category th is category is used to specify id code. id code (authentication) change s the id code for authentication. ? [ h igh 8 bytes:] box enter the 8 higher order bytes of the id code. [ l ow 8 bytes:] box enter the 8 lower order bytes of the id code. [import] button the [open] dialog box is opened; when an id code file in the rfp id code file (*.rid) ? forma t is selected, the id code read from the file will be input to the [id c o de] dialog box. notes 1 . for a microcontroller with 8 - byte id code, leave high 8 bytes blank, or enter 0xff . 2 . if the value of each input field is less than 8 bytes, rfp automatica lly input 0xff from the beginning of the field. 3 . for a device with control code, enter the value at the first byte of the effective data bytes. example 1: when effective data bytes = 16, control code = h ? 45, id code = h ? 010203, h ? 04050607, h ? 08090a0b, h ? 0c0d0e0f - > ?high 8 bytes : ? 4501020304050607 ?low 8 bytes : ? 08090a0b0c0d0e0f example 2: when effective data bytes = 8, control code = h ? 45, id code = h ? 010203, h ? 04050607 - > ?high 8 bytes : ? ffffffffffffffff ?low 8 bytes : ? 4501020304050607 ? t he [save as] dialog box is opened and the name of an id code file in the ? rfp id c o de files (*.rid) ? format to be created is specified. automatic authentication this option selects whether or not to send the id code automatically on id code authent ication. true enables automatic verification of the id code. false t he [id code] dialog box is opened on connection to a device to which an id code has been written. save to the project file this option selects whether or not to save the id code in th e project file. true enables the option. false disables the option.
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 50 of 71 mar. 31, 2014 <1 1 > [timeout option] category th is category is used to specify timeout for erase , timeout for blank check , timeout for program , and timeout for read . timeout for erase (sec) speci f ies the timeout for erasing the device. timeout for blank check (sec) specifies the timeout for checking if the device is blank. timeout for program (sec) specifies the timeout for writing data to the device. timeout for read (sec) specifies the timeou t for reading data from the device. <1 2 > [ user boot area option ] category this category is used to specify whether or not to include the user boot area in the scope of erasure. permission of erasure specifies whether to include the user boot area in the scope of erasure. true included false not included <1 3 > [lock bit] category th is category is used to specify lock - bit - related settings such as connect option, disconnect option , and lock blocks at disconnect . disconnect option select s whether to se t block lock when disconnecting from the device. ? set ? display s the setting dialog ? do nothing lock blocks at disconnect change s the lock state of the block when disconnecting from the device. the lock bit setting at disconnection is changed to ? locked ? or ? unlocked. ? . lock bi t of the block is locked. lock bit of the block is unlocked. lock at disconnect unlock at disconnect double click on ? lock each block ? , ? lock the area ? , or ? unlock the area ? to select them.
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 51 of 71 mar. 31, 2014 <1 4 > [ security setting ( flash shield window ) ] category this category is used to set security . set security specifies whether to set the f lash s hield w indow . true set false not set start of flash shield block number inputs the starting block of the flash shield window . end of flash shield block number inputs the ending block of the flash shield window .
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 52 of 71 mar. 31, 2014 2 .4.4 [h elp] menu selecting the [ h elp] menu displays the following pull - down menu . figure 2 - 4 2 . [h elp] m e nu (1) [v ersion i nformation] this is used to open the version information dialog box below and display the rfp version. clicking the ok button closes this dialog box. figure 2 - 4 3 . version information dialog box (2) [i mport license] for details of this menu item, see the manual accompanying this product. 2 .5 [ microcontroller ] area this area d isplays the selected target microcontroller. figure 2 - 4 4 . [microcontroller] area (1) (2)
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 53 of 71 mar. 31, 2014 2 .6 [ program file ] area this area d isplays the selected program fi le. clicking the b rowse... button in the user/data area or the br owse... button in the user boot area opens the [open file] dialog box. move to a desired folder and select a program file (* .hex; * .mot; * .s * ; * .rec). each item can be enabled by selectin g the left check box, or disabled by clearing it. figure 2 - 4 5 . [program file] area figure 2 - 4 6 . [open file] dialog box 2 .7 [command] area the command area displays the command selected on t he [ m icrocontroller] menu. figure 2 - 4 7 . command area
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 54 of 71 mar. 31, 2014 2 .8 start button this button executes t he command selected on the [ m icrocontroller] menu. the execution progress is displayed on the output panel or in the [p rogress report] dialog box. figure 2 - 4 8 . start b utton figure 2 - 4 9 . [progress report] dialog box if a bort button is clicked during the a bort button is effective, the command being executed is aborted. 2 .9 status bar the status bar shows the progress as a color and with a messa ge when a command selected on the [ m icrocontroller] menu is executed. figure 2 - 50. status bar table 2 - 1 list of status bar display immediately after start of the command, or when the clear button of the output panel is clicked during the command execution when the command has terminated normally when the command has terminated abno rmal ly
renesas flash programmer v2.0 4 chapter 2 function details (b asic m ode ) r20ut2908ej0100 rev. 1.00 page 55 of 71 mar. 31, 2014 2 .10 output panel the output panel displays the execution status of the command selected on the [ m icrocontroller] menu in text. up to 20 00 lines can b e displayed. if the text exceeds 20 00 lines, lines will be deleted, starting from the first line. figure 2 - 5 1 . output panel (a) output panel context menu right - clicking the output panel displays a context menu. table 2 - 1 output panel context menu c o py copies the text selected on the output panel to the clip board. select a ll selects the entire text on the output panel. cl e ar clears the entire text and the status bar display of the output panel. s ave saves the entire text on the output panel to a f ile. the [open file] dialog box opens, where you can specify any filename for the file saved. 2 .11 clear output panel b utton clicking the c lear output panel button will delete all the text displayed on the output panel. the status bar is also cleared . figure 2 - 5 2 . c lear output panel b utton
renesas flash programmer v2.0 4 chapter 3 functi on details (f ull m ode ) r20ut2908ej0100 rev. 1.00 page 56 of 71 mar. 31, 2014 chapter 3 function details (f ull m ode ) - rx - this chapter describes function details of the commands, windows, and dialog boxes of the full mode of rfp. 3 .1 introduction make sure that the rfp package is installed. for how to install the rfp packag e , see common chapter 2 installation . before starting rfp, make sure that the debugger and utility are not running. 3 .2 starting up on the taskbar, click the start button, point to [all programs], [renesas electronics utilities ], [programming tools], [renesas flash programmer v x . xx ], and then click [renesas flash programmer v x . xx ]. the [welcome!] dialog box will open. follow the instructions that appear in the wizard. when setup is finished, the main window is displayed. the [power supply], [mode p ins at connection], [frequency ] and [ communication speed ] dialog boxes are skipped according to the selected connection method. figure 3 - 1. flow of dialog boxes until the program is activated (see 2 .2.2 .) [mode pins at connection] (see 2 .2.3 .) (see 2 .2.4 .) (see 2 .2.6 .) (see 2 .2.1 .) (see 3 .3 . ) create a new workspace (see 2 .2. 7 .) [create a new workspace] [communication interface] [welcome!] [open file] main window [power supply] [connection and query] (see 2 .2.11 .) (see 2 .2.5 .) open last workspace open a created workspace (see 2 .2 .10 . ) [frequency] [ communication speed ] (see 2 .2. 8 .) [project settings] (see 2 .2. 9 .)
renesas flash programmer v2.0 4 chapter 3 functi on details (f ull m ode ) r20ut2908ej0100 rev. 1.00 page 57 of 71 mar. 31, 2014 or a main window is opened by th e following method. in the case of (1), the main window of the version installed recently opens. (1) double clicking a workspace file. (2) dragging and dropping a workspace file onto rfp.exe. (3) typing rfp.exe followed by the name of a workspace file at t he command prompt and so on; then executing it. 3 .3 main window the main window consists of the following items: figure 3 - 2. main window name description see <1> menu bar displays the selectable menus . 3 .4 <2> tool bar displays buttons for frequently used commands. 3 . 5 <3> [ workspace tree ] panel displays the workspace in a tree form. 3 .6 < 4 > [project settings] panel displays the project settings. 3 .7 < 5 > [output] panel displays the command execution output. 3 .8 < 6 > status bar displays the command execution status in colors and text 3 .9 <5> [output] panel <1> menu bar <4> [project settings] panel <2> tool bar <3> [ workspace tree ] panel <6> status bar
renesas flash programmer v2.0 4 chapter 3 functi on details (f ull m ode ) r20ut2908ej0100 rev. 1.00 page 58 of 71 mar. 31, 2014 3 . 4 menu bar the menu bar consists of [ f ile], [ t ool], [ m icrocontroller], and [ h elp]. when a menu is selected, the pull - down menu is displayed where the items can be selected. some items may be disabled depending on the settings. 3 .4.1 [f ile] menu the following pull - down menu appears by select ing the [ f ile] menu. refer to 2 .4.1 for details of each menu. figure 3 - 3. [f ile] m enu 3 . 4.2 [t ool] menu selecting the [ t ool ] menu displays the pull - down menu as shown in the figure below. refer to 2 .4.2 for details of each menu. figure 3 - 4. [ t ool] menu
renesas flash programmer v2.0 4 chapter 3 functi on details (f ull m ode ) r20ut2908ej0100 rev. 1.00 page 59 of 71 mar. 31, 2014 3 .4.3 [m icrocontroller] menu the following pull - down menu appears by select ing the [ m i crocontroller] menu. you can select a command such as [disconnect to device], [all erase], and [program], or make settings. selecting any command executes that command. selecting [project s ettings] opens a wizard - type dialog box for changing the project basic settings. refer to 2 .4.3 for more information on commands other than [ c onnect to device]. remark the [ s et project] option is deselected while the target microcontroller is connected. to enable the option, select [ d isconnect from device] from the [ m i crocontroller] pull - down menu. figure 3 - 5. [ m icrocontroller] m enu (1) [ c onnect to device] this menu item connects to the device. if the [ p ower target from the emulator] checkbox of the [power supply] dialog is selected, the power supply starts. ( 1 )
renesas flash programmer v2.0 4 chapter 3 functi on details (f ull m ode ) r20ut2908ej0100 rev. 1.00 page 60 of 71 mar. 31, 2014 3 .4.4 [h elp] menu clicking the [ h elp] menu displays the following pull - down menu. refer to 2 .4.4 for details of each menu. figure 3 - 6 . [h elp] m enu 3 .5 tool bar the tool bar lists the buttons for the commands of the [ m icrocontroller] menu . clicking any of the buttons executes the corresponding command. some buttons become enabled or disabled depending on the settings . placing the mouse cursor over a tool bar button displays a tooltip. refer to 2 .4.3 for details of each command. figure 3 - 7 . tool bar table 3 - 1. tool bar ( 1 ) executes the [connect to device]. ( 2 ) executes the [disconnect to device. ( 3 ) executes the [blank check] command. ( 4 ) executes the [erase] command. (5) execut e s the [all erase] command. ( 6 ) executes the [program] co mmand. ( 7 ) executes the [verify] command. ( 8 ) executes the [read] command. (9) executes the [set security] command. ( 10 ) executes the [checksum] command. (11) executes the [get flash options] command. ( 12) opens a wizard - type dialog box for changing the project basic settings. remark: this button is invalid when the device is connected to a target microcontroller. select [ d isconnect to device] to en a ble the button. (1) (2) (3) (4) (5) (6) (7) (8) (9 ) (10) (11) (12)
renesas flash programmer v2.0 4 chapter 3 functi on details (f ull m ode ) r20ut2908ej0100 rev. 1.00 page 61 of 71 mar. 31, 2014 3 .6 [ workspace tree ] panel this panel displays the tree - format representation of t he workspace elements (workspace nodes, project nodes, and program file nodes), allowing you to make project operations (such as adding and deleting) and program file operations (such as adding, deleting, and programming ). figure 3 - 8 . [ workspace tree ] p anel (1) workspace node this node represents the workspace currently opened. you cannot open multiple workspaces. the workspace tree has only one workspace node as its root node. (a) context menu of the workspace node right - clicking the workspace nod e displays its context menu. table 3 -2. context menu of the workspace node a dd project this menu item opens the [create a new workspace] dialog for adding a project in the workspace. the newly added project becomes available for manipulation and edition. the project that has been created is saved. (1) (2) (3)
renesas flash programmer v2.0 4 chapter 3 functi on details (f ull m ode ) r20ut2908ej0100 rev. 1.00 page 62 of 71 mar. 31, 2014 (2) project nodes a project node represents a project within the workspace. you can manipulate and edit one of the multiple projects (maximum of 64) at a time. the project that can be manipulated and edited is displayed bold and marked by "(*)". double - clicking one of other project nodes makes it available for manipulation and edition. (a) context menu of project nodes right - clicking a project node displays its context menu. table 3 -3. context menu of proje ct nodes s et project active makes the selected project available for manipulation and edition. the project that has been manipulated and edited is saved. d elete project deletes the selected project from the list. the project file itself is not deleted. this menu item is enabled when the project is not being manipulated or edited. add p rogram file adds a program file to the selected project. the [open file] dialog box opens for adding a program file. m erge program file merges data in all program files a dded to the selected project and outputs the result as a single program file. the program file is in motorola s - for mat hex format (data record: s3, end record: s7). note that data in ranges beyond the memory area of the mcu will not be output. (3) progra m file nodes a program file node represents a program file of a project. a project can have multiple program files (maximum of 64), one of which is available for programming and verification. the program file node available for programming and verificati on is displayed bold and marked by "(*)". double - clicking one of other nodes makes it available for programming and verification. selecting [user b oot area] from the context menu of a program file node displays the project node bold, and marks the progra m file node with "(b)". (a) context menu of program file nodes right - clicking a program file node displays its context menu. table 3 -4. context menu of program file nodes s et program file active makes the selected program file available for programming a nd verification. d elete program file deletes the selected program file from the list. the program file itself is not deleted. this menu item is enabled when the program file is not selected for programming and verification. ar e a selects an area from the selected program file. u ser/data area specifies the area for programming and verification as the user/data area . user b oot area specifies the area for programming and verification as the user boot area. p rogram executes the [program] command with the selected program file and area. this menu item is enabled when the project is selected for manipulation and edition, and the program file is selected for programming and verification. a utoprocedure(e.p.) not used.
renesas flash programmer v2.0 4 chapter 3 functi on details (f ull m ode ) r20ut2908ej0100 rev. 1.00 page 63 of 71 mar. 31, 2014 3 .7 [project settings] panel this p anel allows you to check and change the project settings. the [basic setting] tab and [other setting] tab are included in this panel, each of which displays its specific category of settings when selected. information displayed on this panel is for the pro ject selected for manipulation and edition. refer to 2 .4.3 (1 1 ) (f ), [ project settings ] dialog for details. figure 3 - 9 . [project settings] panel 3 .8 output panel the output panel displays the execution status of the command selected on the [ m icrocon troller] menu or the tool bar in text. up to 20 00 lines can be displayed. if the text exceeds 20 00 lines, lines will be deleted, starting from the first line. refer to 2 .10 for details. figure 3 - 1 0 . output panel 3 .9 status bar the status bar shows the progress as a color and with a message when a command selected on the [ m icrocontroller] menu or the tool bar is executed. figure 3 - 1 1 . status bar table 3 - 5. status bar displays immediately after startup , or when [cl e ar] is selected in the conte xt menu of the output panel during the command execution when the command has terminated normally when the command has terminated abno rmal ly
renesas flash programmer v2.0 4 chapter 4 script execution function r20ut2908ej0100 rev. 1.00 page 64 of 71 mar. 31, 2014 chapter 4 script execution function this chapter explains the script execution function. 4 .1 overview the script execution function executes the script commands in a script file sequentially without displaying the main window or dialog boxes note . the rfp can be started up and the write command can be executed from the command prompt or user applications. note processing automatically proceeds i n response to clicking on ok button in the [confirmation] dialog box. note , however, depending on the setting s , a dialog box might be shown while the program is running (s ee 4 .6 ). 4 .2 start and exit the script execution starts by the following method. in the case of (1), the main window of the version installed recently start s . (1) double clicking a script fil e. (2) dragging and dropping a script file onto rfp.exe. (3) typing rfp.exe followed by the name of a script file at the command prompt and so on; then executing it. after the script execution starts, the script commands in the script file are executed fro m the first line to the last sequentially. when execution of all commands in the script down to the last line is completed , the result code ??0? is returned on exit from the rfp. if there is an error in a command or an error is generated while a command is being execut ed , the result code ?1? is returned immediately and execution of the rfp is terminated . as a note, if there is no script file (*.rsc) or a file that is not a script file (not an *.rsc file) is specified, the script execution function ends and the [welcome!] dialog box is opened. if an error occurs due to an incorrect command in the script or while a command is being executed, the [welcome!] dialog box will not open. rfp.exe xxxx xxxx: the full path of a script file. if the full path contains s paces, use double quotation marks to enclose the full path (" "). example) a batch file (sample.bat) example :start rfp.exe "d: \ rfp \ sample test \ sample.rsc" echo off echo r usult code %errorlevel% pause
renesas flash programmer v2.0 4 chapter 4 script execution function r20ut2908ej0100 rev. 1.00 page 65 of 71 mar. 31, 2014 4 .3 script file this section describes a script file (file extension, file format, file and example). (1) file extension *.rsc (2) file format file format: text format newline: cr + lf the only supported character code is ascii (one byte). unicode (two bytes) is not supported. (3) format the first line :log command (optional) the second line :workspace command the third line and after :arbitrary script command the lines starting with // are comment lines and will be skipp ed. (4) example //sample script file log "d: \ rfp \ sample test \ sample.log" workspace "d: \ rfp \ sample test \ sample \ sample.rws" programfile d: \ hex \ sample.mot user data serial e1 9jm000129 connect checksum disconnect 4 .4 script commands this section describes script commands in a script file. the command interpreter is case - insensitive. the symbols used to describe the script commands are defined below. symbol description characters within angle brackets < > information that must be provided characters withi n square brackets [ ] optional information slash / options where only one option must be selected
renesas flash programmer v2.0 4 chapter 4 script execution function r20ut2908ej0100 rev. 1.00 page 66 of 71 mar. 31, 2014 table 4 - 1 script commands function script command description specify a log file log specifies a log file. for more details, see 4 .5 . : the full path of the log file. if the full path contains spaces, use double quotation marks to enclose the full path (" "). specify a workspace workspace specifies a workspace file. the script execution function uses an active project and an active program file. : the full path of the workspace file. if the path contains spaces, use double quotation marks to enclose the path (" "). specify a program file programfile specifies a program file. when multiple files are specified, the last file is active. : the full path of the program file. if the path contains spaces, use double quotation marks to enclose the path (" "). : specifies the area (user data / userboot) userdata: specifies the user a nd data area. userboot: specifies the user boot area. specify an id code file idcodefile specifies an id code file for authentication. w h en multiple files are specified, the command is only effective for the last file to be specified. note th at the command leads to the id code settings in a project file being ignored. : use double quotation marks ( ? ? ) in cases where the full pathname of the program file is specified or the filename includes a space. specify the serial number s eria l specifies the serial number of the tool used. : specifies the connection method. (e1/ e20/ usb) e 1: specifies ?e1.? e20: specifies ?e20.? usb: specifies ?usb direct.? : when "e1" or "e20" is selected, th e serial number marked on the chassis: example) 9jm000129 when "usb dire c t" is selected, the usb port number* : example) vid_045b&pid_0025 \ 6&3234b9d9&0&3 wait wait

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X